<?php

class BonusConvertTradeCoinPageLink extends Extension {
	function getBonusConvertTradeCoin(){
        $page = BonusConvertTradeCoinPage::get()->find('ClassName', 'BonusConvertTradeCoinPage');
        if($page) return $page;
    }
    
    function getBonusConvertTradeCoinLink() {
        $page = $this->getBonusConvertTradeCoin();
        if($page) return $page->Link();
    }
	
    function getBonusConvertTradeCoinStatement(){
        $page = BonusConvertTradeCoinStatementPage::get()->find('ClassName', 'BonusConvertTradeCoinStatementPage');
        if($page) return $page;
    }
    
    function getBonusConvertTradeCoinStatementLink() {
        $page = $this->getBonusConvertTradeCoinStatement();
        if($page) return $page->Link();
    }
}
